<!DOCTYPE html>
<html lang="zh-cn">
   <head>
      <meta charset="utf-8">
      <meta http-equiv="X-UA-Compatible" content="IE=edge">
      <meta name="viewport" content="width=device-width, initial-scale=1">
      <title>{$CONF['shopTitle']['fieldValue']}后台管理中心</title>
      <link href="__PUBLIC__/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet">
      <link href="__CSS__/AdminLTE.css" rel="stylesheet" type="text/css" />
      <!--[if lt IE 9]>
      <script src="__PUBLIC__/js/html5shiv.min.js"></script>
      <script src="__PUBLIC__/js/respond.min.js"></script>
      <![endif]-->
      <script src="__PUBLIC__/js/jquery.min.js"></script>
      <script src="__PUBLIC__/plugins/bootstrap/js/bootstrap.min.js"></script>
      <script src="__PUBLIC__/js/common.js"></script>
      <script src="__PUBLIC__/plugins/plugins/plugins.js"></script>
      <script src="__PUBLIC__/plugins/formValidator/formValidator-4.1.3.js"></script>
   </head>
   <body class="wst-page">
       <form name="myform" method="post" id="myform">
        <input type='hidden' id='id' value='{$object.bankId}'/>
        <table class="table table-hover table-striped table-bordered wst-form">
           <tr>
             <td>
             <span style='font-weight:bold;'>订单号：{$object['id']}</span>
             <span style='margin-left:100px;'>
                                       状态：
			   <if condition='$object["pay_status"] eq 1'>已支付
			   <elseif condition='$object["pay_status"] eq 2'/>申请退款
			   <elseif condition='$object["pay_status"] eq 3'/>退款成功
			   <elseif condition='$object["pay_status"] eq 4'/>拒绝退款
			   </if>
             </span></td>
           </tr>
           <!-- 
           <tr>
              <td style='font-weight:bold;'>订单日志</td>
           </tr>
           <tr>
              <td>
                <table width='700'>
                <tr>
                  <td width='220'>操作时间</td>
                  <td width='350'>操作信息</td>
                  <td width='230'>操作人</td>
                </tr>
                <volist name="object['log']" id="log">
                <tr>
                  <td>{$log['logTime']}</td>
                  <td>{$log['logContent']}</td>
                  <td>{$log['loginName']}<notempty name="log['shopName']">({$log['shopName']})</notempty></td>
                </tr>
                </volist>
                </table>
              </td>
           </tr> -->
           <tr>
             <td style='font-weight:bold;'>订单信息</td>
           </tr>
           <tr>
             <td>
             <table width='700'>
                <tr>
                  <td width='120' style='text-align:right'>支付方式：</td>
                  <td>
                    <if condition="$object['pay_type'] eq 1">
                      <if condition="$object['pay_type'] eq 1">支付宝
                      <elseif condition="$object['pay_type'] eq 2"/>微信
                      <elseif condition="$object['pay_type'] eq 3"/>余额
                      <elseif condition="$object['pay_type'] eq 4"/>积分
                      <elseif condition="$object['pay_type'] eq 0"/>货到付款
                      </if>
                    <else />
                     	余额
                    </if>
                  </td>
                </tr>
                <tr>
                  <td style='text-align:right'>配送方式：</td>
                  <td>
                  <if condition='$object["isSelf"] eq 1'>
                                                                  自提
                  <else/>
                  	<if condition='$object["deliverType"] eq 1'>物流配送<else/>商城配送</if>
                  </if>                                                
                  </td>
                </tr>
               <volist name="object['express']" id="vo">
                <tr>
                  <td width='120' style='text-align:right'>物流公司：</td>
                  <td>{$vo['expressCompany']}</td>
                </tr>
                <tr>
                  <td width='120' style='text-align:right'>快递单号：</td>
                  <td>{$vo['trackNumber']}</td>
                </tr>
                </volist>
                <tr>
                  <td style='text-align:right'>期望到货时间：</td>
                  <td>{$object['content']['send_time']}</td>
                </tr>
                <tr>
                  <td style='text-align:right'>买家留言：</td>
                  <td>{$object['content']['remark']}</td>
                </tr>
                </table>
             </td>
           </tr>
           <if condition='$object["isRefund"] eq 2'>
           <tr>
             <td style='font-weight:bold;'>退款备注</td>
           </tr>
           <tr>
             <td>
             <table width='700'>
                <tr>
                  <td width='120' style='text-align:right'>说明：</td>
                  <td>
                  {$object['refundRemark']}
                  </td>
                </tr>
                </table>
             </td>
           </tr>
           </if>
           <if condition='$object["isInvoice"] eq 1'>
           <tr>
             <td style='font-weight:bold;'>发票信息</td>
           </tr>
           <tr>
             <td>
             <table width='700'>
                <tr>
                  <td width='120' style='text-align:right'>发票抬头：</td>
                  <td>
                  {$object['invoiceClient']}
                  </td>
                </tr>
                </table>
             </td>
           </tr>
           </if>
           
           <tr>
             <if condition="$object['type'] eq 3">
             <td style='font-weight:bold;'>买货地址</td>
             <else />
             <td style='font-weight:bold;'>取货地址</td>
             </if>
           </tr>
           <tr>
             <td>
                <table width='700'>
                <if condition="$object['type'] eq 3">
                <tr>
                  <td style='text-align:right'>买：</td>
                  <td>{$object['content']['buy_address']}{$object['content']['buy_number']}</td>
                </tr>
                <else />
                <tr>
                  <td style='text-align:right'>取：</td>
                  <td>{$object['content']['go_address']}{$object['content']['go_number']}</td>
                </tr>
                </if>
                <tr>
                  <td width='120' style='text-align:right'>联系人：</td>
                  <td>{$object['content']['go_username']}</td>
                </tr>
                <tr>
                  <td style='text-align:right'>联系方式：</td>
                  <td>{$object['content']['go_mobile']}</td>
                </tr>
                </table>
             </td>
           </tr>
           
           
           <tr>
             <td style='font-weight:bold;'>目的地址</td>
           </tr>
           <tr>
             <td>
                <table width='700'>
                <tr>
                  <td width='120' style='text-align:right'>送：</td>
                  <td>{$object['content']['get_address']}{$object['content']['get_number']}</td>
                </tr>
                <tr>
                  <td style='text-align:right'>联系人：</td>
                   <td>{$object['content']['get_username']}</td>
                </tr>
                <tr>
                  <td style='text-align:right'>联系方式：</td>
                   <td>{$object['content']['get_mobile']}</td>
                </tr>
                </table>
             </td>
           </tr>
           
           <tr>
              <td style='font-weight:bold;'>配送信息</td>
           </tr>
           
           <tr>
             <td>
                <table width='700'>
                <if condition="!empty($deliver_order)">
                <tr>
                  <td width='120' style='text-align:right'>配送订单号：</td>
                  <td>{$deliver_order['orderId']}</td>
                </tr>
                </if>
                <tr>
                  <td style='text-align:right'>加急状态：</td>
                  <td>
                  	<if condition="$object['content']['urgent'] eq 1">
                  		正常配送
                  		<else />
                  		加急配送
                  	</if>
                  </td>
                </tr>
                <tr>
                  <td style='text-align:right'>车型选择：</td>
                  <td>
                  <if condition="$object['content']['car'] eq 1">
                  		电动车（摩托车）
                  <elseif condition="$object['content']['car'] eq 2" />
                  		小汽车
                  <else />
                  		火车
                  	</if>
                  </td>
                </tr>
                <if condition="!empty($deliver_order)">
                <tr>
                  <td style='text-align:right'>配送员：</td>
                  <td>{$user['truename']}</td>
                </tr>
                <tr>
                  <td style='text-align:right'>联系号码：</td>
                  <td>{$user['mobile']}</td>
                </tr>
                </if>
                <tr>
                  <td style='text-align:right'>配送费用：</td>
                  <td>{$deliver_order['deliverMoney']}</td>
                </tr>
                </table>
             </td>
           </tr>
           <tr>
             <td colspan='2' align='center'>
                <!--修改为上一页不刷新的效果
                <button type="button" class="btn btn-primary" onclick='javascript:location.href="{$referer}"'>返&nbsp;回</button>
                -->
                <button type="button" class="btn btn-primary" onclick='history.go(-1)'>返&nbsp;回</button>
             </td>
           </tr>
        </table>
       </form>
   </body>
</html>